/* 
 * File:   Map.h
 * Author: chb
 *
 * Created on 5. September 2009, 11:32
 */

#ifndef _MAP_H
#define	_MAP_H

#include <vector>
#include "View.h"
#include "MapSite.h"
#include "MapSiteCatalog.h"

class Map {
public:
    Map();
    Map(const Map& orig);
    virtual ~Map();
    void createMapSite(unsigned int x, unsigned int y, MapSite::MS_TYPE type);
    
    MapSite* getMapSite(unsigned int x, unsigned int y);

    void paint(View *v);

private:
    void addMapSite(MapSite* m);
    std::vector<MapSite*> _mapSites;
};

#endif	/* _MAP_H */

